package com.holyant.goods.dto.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.QueryDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @author zgx *
 * @date 2022年06月26日 1:07
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GdsGoodsPriceSkuQueryDto extends QueryDto {

    @ApiModelProperty(value = "类型")
    private Integer quoteType;

    @ApiModelProperty(value = "sku编号")
    private String skuCode;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品条码")
    private String goodsBarcode;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "效期")
    private LocalDate expireDate;

}
